package cn.lysoy.demo.mappertest;

import cn.lysoy.demo.constant.CommonConstant;
import cn.lysoy.demo.entity.RequestLog;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author SongYang
* @description 针对表【request_log】的数据库操作Mapper
* @createDate 2022-06-27 09:12:26
* @Entity com.zdxlz.ttbmsp.domain.RequestLog
*/
@DS(CommonConstant.LOG_DATASOURCE) // 可以为组名也可以为具体某个库的名称
@DSTransactional
@Mapper
public interface RequestLogMapper extends BaseMapper<RequestLog> {
    List<Map<String, Object>> countRequest();
}




